package com.ruoyi.spspublic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
//import com.ruoyi.common.core.domain.BasePartyEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 短信或者邮件的发送记录，只保持最后一条记录对象 t_mis_shortmessage
 *
 * @author wangwei
 * @date 2022-05-11
 */
public class TMisShortmessage /**extends BasePartyEntity**/ {
  private static final long serialVersionUID = 1L;

  /** 唯一id */
  private String ctId;

  /** 功能号 */
  private String ctFunNo;

  /** 信息类型 1验证码 0推送信息 */
  @Excel(name = "信息类型 1验证码 0推送信息")
  private String ctType;

  /** 有效期 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date dtDate;

  /** 用户帐号 */
  @Excel(name = "用户帐号")
  private String ctUsername;

  /** 用户昵称 */
  @Excel(name = "用户昵称")
  private String ctNickname;

  /** 发送的其他文本 */
  @Excel(name = "发送的其他文本")
  private String ctSendmess;

  /** 接收人(登记人或者地址） */
  @Excel(name = "接收人(登记人或者地址）")
  private String ctSendto;

  /** 验证码 */
  @Excel(name = "验证码")
  private String ctNumber;

  /** 当日发送次数 */
  @Excel(name = "当日发送次数")
  private String amDay;

  /** 累计发送次数 */
  @Excel(name = "累计发送次数")
  private String amToal;

  /** 请求日期 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "请求日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date dtCreate;

  /** 备用1 */
  private String ctOther1;

  /** 备用2 */
  private String ctOther2;

  /** 备用3 */
  private String ctOther3;

  /** 状态 */
  private String ctState;

  public void setCtId(String ctId) {
    this.ctId = ctId;
  }

  public String getCtId() {
    return ctId;
  }

  public void setCtFunNo(String ctFunNo) {
    this.ctFunNo = ctFunNo;
  }

  public String getCtFunNo() {
    return ctFunNo;
  }

  public void setCtType(String ctType) {
    this.ctType = ctType;
  }

  public String getCtType() {
    return ctType;
  }

  public void setDtDate(Date dtDate) {
    this.dtDate = dtDate;
  }

  public Date getDtDate() {
    return dtDate;
  }

  public void setCtUsername(String ctUsername) {
    this.ctUsername = ctUsername;
  }

  public String getCtUsername() {
    return ctUsername;
  }

  public void setCtNickname(String ctNickname) {
    this.ctNickname = ctNickname;
  }

  public String getCtNickname() {
    return ctNickname;
  }

  public void setCtSendmess(String ctSendmess) {
    this.ctSendmess = ctSendmess;
  }

  public String getCtSendmess() {
    return ctSendmess;
  }

  public void setCtSendto(String ctSendto) {
    this.ctSendto = ctSendto;
  }

  public String getCtSendto() {
    return ctSendto;
  }

  public void setCtNumber(String ctNumber) {
    this.ctNumber = ctNumber;
  }

  public String getCtNumber() {
    return ctNumber;
  }

  public void setAmDay(String amDay) {
    this.amDay = amDay;
  }

  public String getAmDay() {
    return amDay;
  }

  public void setAmToal(String amToal) {
    this.amToal = amToal;
  }

  public String getAmToal() {
    return amToal;
  }

  public void setDtCreate(Date dtCreate) {
    this.dtCreate = dtCreate;
  }

  public Date getDtCreate() {
    return dtCreate;
  }

  public void setCtOther1(String ctOther1) {
    this.ctOther1 = ctOther1;
  }

  public String getCtOther1() {
    return ctOther1;
  }

  public void setCtOther2(String ctOther2) {
    this.ctOther2 = ctOther2;
  }

  public String getCtOther2() {
    return ctOther2;
  }

  public void setCtOther3(String ctOther3) {
    this.ctOther3 = ctOther3;
  }

  public String getCtOther3() {
    return ctOther3;
  }

  public void setCtState(String ctState) {
    this.ctState = ctState;
  }

  public String getCtState() {
    return ctState;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("ctId", getCtId())
        .append("ctFunNo", getCtFunNo())
        .append("ctType", getCtType())
        .append("dtDate", getDtDate())
        .append("ctUsername", getCtUsername())
        .append("ctNickname", getCtNickname())
        .append("ctSendmess", getCtSendmess())
        .append("ctSendto", getCtSendto())
        .append("ctNumber", getCtNumber())
        .append("amDay", getAmDay())
        .append("amToal", getAmToal())
        .append("dtCreate", getDtCreate())
        .append("ctOther1", getCtOther1())
        .append("ctOther2", getCtOther2())
        .append("ctOther3", getCtOther3())
        .append("ctState", getCtState())
        .toString();
  }
}
